import java.util.Arrays;

public class Solution2177 {
    public long[] sumOfThree(long num) {
        if (num%3!=0){
            return new long[0];
        }else{
            return new long[]{num/3-1,num/3,num/3+1};
        }
    }

    public static void main(String[] args) {
        System.out.println(Arrays.toString(new Solution2177().sumOfThree(33)));
    }
}
